package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ee.chat.common.entity.UserOnlineLog;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Shane
 * @since 2020-08-03
 */
public interface UserOnlineLogMapper extends BaseMapper<UserOnlineLog> {
    /**
     * 获取最新的记录
     * @Author Shane
     * @Date 2020/8/4 14:35
     * @param
     * @return
     */
    UserOnlineLog selectNewestLog(@Param("userId") Integer userId);
}